from django.conf import settings
from django.db import transaction
from rest_framework import viewsets
from rest_framework import serializers
from rest_framework.serializers import *
from rest_framework.response import Response
from rest_framework.validators import UniqueValidator, UniqueTogetherValidator  # 验证器

from iClouds.apidev import filter_views
from iClouds.Permissions import *
from iClouds.Authentication import *

from mysqldb import redis as REDIS
from mysqldb.models import *

from datetime import datetime, timedelta


class NoneSerializer(serializers.Serializer):
    """无请求参数"""

    class Meta:
        fields = "__all__"
